package org.cxmzxy.xyj;

public class TechDepartment extends Department{
    public TechDepartment(String name,int numOfMembers){
        super.name = name;
        super.numOfMembers = numOfMembers;
    }

    @Override
    public void work() {
        System.out.println(super.name+"负责技术开发、软件研发和系统维护等，部门有"+super.numOfMembers+"人。");
    }
}
